package io.lkt.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.lkt.common.utils.PageUtils;
import io.lkt.modules.sys.entity.BOrderInfoEntity;
import io.lkt.modules.sys.entity.BUserWithdrawLogEntity;

import java.util.List;
import java.util.Map;

/**
 * 提现申请记录
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2019-04-29 16:09:12
 */
public interface BUserWithdrawLogService extends IService<BUserWithdrawLogEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<BUserWithdrawLogEntity> queryList(Map<String,Object> map);

    Integer queryTotal(Map<String,Object> map);

    List<BUserWithdrawLogEntity> getWithdrawByUserId(Map<String, Object> params);

    int getWithdrawByUserIdTotal(Map<String, Object> params);

    BUserWithdrawLogEntity getLatestWithdrawal(Map<String, Object> map);
}

